package com.blqy.fr.model.account;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 用户账单实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "UserBill")
@TableName("user_bill")
public class UserBill extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "总金额")
    @TableField("total_amount")
    private BigDecimal totalAmount;
}